﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucHomeProducts.ascx.cs"
    Inherits="SES.CMS.Modules.ucHomeProducts" %>
<div class="product-cate">
    <div class="heading">
        <div class="heading1">
            <h2 class="heading2">
                <span><a href='/danh-muc/' title='Danh mục sản phẩm'>Danh sách sản phẩm</a></span></h2>
        </div>
    </div>
    <div class="foo-news">
        <asp:Repeater runat="server" ID="rptHomeProducts">
            <ItemTemplate>
                <div class="product">
                    <a class="a-hover" href='/<%#FriendlyUrl(Eval("ProductCategoryTitle").ToString()) %>/<%#FriendlyUrl(Eval("ProductTitle").ToString())%>-<%#Eval("ProductID")%>'
                        title='<%#Eval("ProductTitle") %>'>
                        <img src='<%#SES.CMS.Ultility.TopbikeDomain()%>/Media/Thumbnail/<%#Eval("Thumbnail")%>' alt='<%#Eval("ProductTitle") %>' title='<%#Eval("ProductTitle") %>' />
                       
                    </a>
                    <div class="product-detail-x">
                     <div class="product-no-promotion">
                            <p class="hidden p-title">
                                <%#Eval("ProductTitle") %></p>
                            <p class="hidden p-price">
                                <%#SES.CMS.Ultility.GetPrice(Eval("ProductID")) %>
                        </div>
                        <div class="action-product">
                        <div class="product-button">
                            <a href='/<%#FriendlyUrl(Eval("ProductCategoryTitle").ToString()) %>/<%#FriendlyUrl(Eval("ProductTitle").ToString())%>-<%#Eval("ProductID")%>'
                                title='<%#Eval("ProductTitle") %>' class="detail-product">Chi tiết</a>
                            <input type="button" id="btnCart" class="h-btn-cart" onclick="updateCart(<%#Eval("ProductID")%>,1); return false;" />
                        </div>
                    </div>
                    </div>
                    
                     <span class="new-product-span">MỚI</span>
                </div>
            </ItemTemplate>
        </asp:Repeater>
    </div>
</div>
